using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;

namespace Net.Fan.SmallPig.Common.DrawOperate
{
    public class BaseItem
    {
        long id;


        string name;
        Font nameFont = new Font("", 12, FontStyle.Bold);

        ItemRectangle rectangle;
        Color fcolor, backColor;


        //Nullable<DateTime> planFinishDay, actualFinishDay;

        //public List<string> FrontItemNos = new List<string>();

        //public string TimeStatus
        //{
        //    get { return timeStatus; }
        //    set { timeStatus = value; }
        //}
        
        public BaseItem()
        {
            rectangle = new ItemRectangle();
        } 
        
        /// <summary>
        /// 
        /// </summary>
        public long Id
        {
            get { return id; }
            set { id = value; }
        }
        public Font NameFont
        {
            get { return nameFont; }
            set { nameFont = value; }
        }
        //public string DeptNo
        //{
        //    get { return deptNo; }
        //    set { deptNo = value; }
        //}

        public ItemRectangle Rectangle
        {
            get { return rectangle; }
            set { rectangle = value; }
        }

        //public Nullable<DateTime> ActualFinishDay
        //{
        //    get { return actualFinishDay; }
        //    set { actualFinishDay = value; }
        //}

        //public Nullable<DateTime> PlanFinishDay
        //{
        //    get { return planFinishDay; }
        //    set { planFinishDay = value; }
        //}
        //public string FrontItemNo
        //{
        //    get { return frontItemNo; }
        //    set { frontItemNo = value; }
        //}

        public string Name
        {
            get { return name; }
            set { name = value; }
        }

        public Color FrontColor
        {
            get { return fcolor; }
            set { fcolor = value; }
        }

        public Color BackColor
        {
            get { return backColor; }
            set { backColor = value; }
        }
    }
}
